package com.sihai.ehr.web.pojo;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import com.sihai.ehr.model.sys.InviteEnum;
import com.sihai.ehr.model.sys.Organization;

/**
 * 招聘安排POJO对象类
 * 
 * @author Henry-PC
 * 
 */
public class InviteArrangePojo {

	/**
	 * 招聘安排编号
	 */
	private Long id;
	/** 招聘审核ID */
	private Long inviteId;
	private String dutyName;
	private Long orgId;
	private Organization organization;
	/** 招聘渠道 */
	private String channel;
	/** 招聘人数 */
	private int applyAmount;
	/** 实际招聘人数 */
	private int completeNum;
	/** 招聘结果 */
	@Enumerated(EnumType.STRING)
	private InviteEnum inviteResult;

	public InviteArrangePojo() {
	}

	/**
	 * 构造招聘安排POJO对象
	 * 
	 * @param id
	 * @param inviteId
	 * @param dutyName
	 * @param orgId
	 * @param channel
	 * @param applyAmount
	 * @param completeNum
	 * @param inviteResult
	 */
	public InviteArrangePojo(Long id, Long inviteId, String dutyName,
			Long orgId, String channel, int applyAmount, int completeNum,
			InviteEnum inviteResult) {
		this.id = id;
		this.inviteId = inviteId;
		this.dutyName = dutyName;
		this.orgId = orgId;
		this.channel = channel;
		this.applyAmount = applyAmount;
		this.completeNum = completeNum;
		this.inviteResult = inviteResult;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getInviteId() {
		return inviteId;
	}

	public void setInviteId(Long inviteId) {
		this.inviteId = inviteId;
	}

	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public int getApplyAmount() {
		return applyAmount;
	}

	public void setApplyAmount(int applyAmount) {
		this.applyAmount = applyAmount;
	}

	public int getCompleteNum() {
		return completeNum;
	}

	public void setCompleteNum(int completeNum) {
		this.completeNum = completeNum;
	}

	public InviteEnum getInviteResult() {
		return inviteResult;
	}

	public void setInviteResult(InviteEnum inviteResult) {
		this.inviteResult = inviteResult;
	}
}
